package work.mediway.mdm.biz.mapper.patient;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import work.mediway.mdm.biz.dto.patient.PatientQueryDTO;
import work.mediway.mdm.biz.entity.patient.RelPatient;
import work.mediway.mdm.biz.vo.patient.RelPatientVO;

@Mapper
public interface RelPatientMapper extends BaseMapper<RelPatient> {
    /**
     * 查询患者详细信息
     *
     * @param page            Page<PatientAllVO>
     * @param patientQueryDTO PatientQueryDTO
     * @return List<PatientAllVO>
     */
    List<RelPatientVO> patientList(@Param("page") Page<RelPatientVO> page, @Param("patientQueryDTO") PatientQueryDTO patientQueryDTO);
}